package com.fxd.crm.mapper;

import com.fxd.crm.model.CourseOrder;
import com.fxd.crm.model.course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @auther fuxudong
 * @date 2021/3/28 - 18:13
 */
@Mapper
public interface courseMapper {
    int findCountByMap(Map<String, Object> map);

    List<course> findListByMap(Map<String, Object> map);

    void insert(course course);

    course findByOrderId(Integer course_id);

    void deleteByOrderId(Integer course_id);

    void update(course course);
}
